/**
 * Copyright 2018, OpenCensus Authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */ export * from './stackdriver-format' ; import * as v1API from './v1' ; export interface SpanContext { /** Trace ID */ traceId : string ; /** Span ID */ spanId : string ; /** Options */ options ? : number ; } /**
 * An transport and environment neutral API for getting request headers.
 */ export interface HeaderGetter { getHeader ( name ) : string | string [ ] | undefined ; } /**
 * A transport and environment neutral API for setting headers.
 */ export interface HeaderSetter { setHeader ( name , value ) : void ; } export interface Propagation { extract ( getter ) : SpanContext | null ; inject ( setter , spanContext ) : void ; generate ( ) : SpanContext ; } deprecated since version 0.0.10 - use  StackdriverFormat instead
 * All other propagation exports a class constructor, while Stackdriver v1
 * propagation exports an implementation of Propagation.
  export const v1 = { extract : v1API . extract , inject : v1API . inject , generate : v1API . generate , } ; export const extract = v1 . extract ; export const inject = v1 . inject ; export const generate = v1 . generate ;